import { createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/home.vue'
import Comput from '@/views/comput.vue'
import My from '@/views/my.vue'
import List from '@/views/list.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/home',
      name: 'home',
      component: Home,
    },
     {
      path: '/comput',
      name: 'comput',
      component: Comput,
    },
     {
      path: '/my',
      name: 'my',
      component: My,
    },
     {
      path: '/list',
      name: 'list',
      component: List,
    },
   
  ],
})

export default router
